<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VR Sketch Design: Y:/Coding/Unity/VRDesignProject/Assets/Scripts/ControllerActions/ColorValuePicker.cs 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">VR Sketch Design
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">VR Project</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b93ca4f67e5c4f3d8967bcc66a8efe61.html">Y:</a></li><li class="navelem"><a class="el" href="dir_657949dcc09204b591ba08b2dd60005a.html">Coding</a></li><li class="navelem"><a class="el" href="dir_9e3bf1a2f1e8bb1f1076cb3a500c0924.html">Unity</a></li><li class="navelem"><a class="el" href="dir_d92c12ce3d70d23921038a5d2ecff28d.html">VRDesignProject</a></li><li class="navelem"><a class="el" href="dir_bbf63476caace77856cc7cbaedc98ba5.html">Assets</a></li><li class="navelem"><a class="el" href="dir_a6ab9145be13875259d1d9e44e1e8835.html">Scripts</a></li><li class="navelem"><a class="el" href="dir_9eb04459ffa80765a164874b47dfec96.html">ControllerActions</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ColorValuePicker.cs</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_color_value_picker_8cs.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="keyword">using</span> System.Collections;</div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="keyword">using</span> System.Collections.Generic;</div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="keyword">using</span> UnityEngine;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="keyword">using</span> VRTK;</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="keyword">using</span> UnityEngine.UI;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="keyword">using</span> System;</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_color_value_picker.html">    8</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_color_value_picker.html">ColorValuePicker</a> : <a class="code" href="class_controller_action.html">ControllerAction</a></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;{</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#a88c0acfd2ed500ae752baa35f93dc00e">   10</a></span>&#160;    <span class="keyword">public</span> GameObject <a class="code" href="class_color_value_picker.html#a88c0acfd2ed500ae752baa35f93dc00e">colorObject</a>;</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#a40f8b4be602f28ae81260ca4f787c5f3">   11</a></span>&#160;    <span class="keyword">public</span> GameObject <a class="code" href="class_color_value_picker.html#a40f8b4be602f28ae81260ca4f787c5f3">colorWheel</a>;   <span class="comment">// 用于修改右手手柄touchpad上的图片明度</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#aee10b4dedbdf99c03f6f9ac433a99387">   13</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">float</span> <a class="code" href="class_color_value_picker.html#aee10b4dedbdf99c03f6f9ac433a99387">value</a> = 1f;  <span class="comment">// 色调、饱和度、值</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#a6192419c18fafcee1168488cc129487d">   14</a></span>&#160;    <span class="keyword">private</span> GameObject <a class="code" href="class_color_value_picker.html#a6192419c18fafcee1168488cc129487d">blackWheel</a>;  <span class="comment">// 明度</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="comment">// Start is called before the first frame update</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#a916e9d6daea31c19f8fe4570a203f110">   18</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="class_color_value_picker.html#a916e9d6daea31c19f8fe4570a203f110">OnEnable</a>()</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    {</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;        <span class="keywordflow">if</span> (GetComponent&lt;VRTK_ControllerEvents&gt;() == <span class="keyword">null</span>)</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        {</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;            Debug.LogError(<span class="stringliteral">&quot;VRTK_ControllerEvent component miss&quot;</span>);</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        }</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="class_select_object_by_controller.html">SelectObjectByController</a>.<a class="code" href="class_select_object_by_controller.html#a1f891591a70ab63513331d88c930f219">selectedObject</a> == <span class="keyword">null</span>)</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;            Debug.LogError(<span class="stringliteral">&quot;[DEBUG] selected object == null&quot;</span>);</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;            <a class="code" href="class_color_value_picker.html#a88c0acfd2ed500ae752baa35f93dc00e">colorObject</a> = <a class="code" href="class_select_object_by_controller.html">SelectObjectByController</a>.<a class="code" href="class_select_object_by_controller.html#a1f891591a70ab63513331d88c930f219">selectedObject</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        transform.Find(<span class="stringliteral">&quot;ColorValuePicker&quot;</span>).gameObject.SetActive(<span class="keyword">true</span>);  <span class="comment">//显示图像</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        <a class="code" href="class_color_value_picker.html#a6192419c18fafcee1168488cc129487d">blackWheel</a> = transform.Find(<span class="stringliteral">&quot;ColorValuePicker/Canvas/BlackWheel&quot;</span>).gameObject;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        VRTK_ControllerEvents conEvt = GetComponent&lt;VRTK_ControllerEvents&gt;();</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        conEvt.TouchpadAxisChanged += <span class="keyword">new</span> ControllerInteractionEventHandler(<a class="code" href="class_color_value_picker.html#ab133cf4d55d59dfe6b7ad882cde31328">DoTouchpadAxisChanged</a>);  <span class="comment">// 注册touchpad事件</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        conEvt.TriggerClicked += <span class="keyword">new</span> ControllerInteractionEventHandler(<a class="code" href="class_color_value_picker.html#ac6b42e360b3b157d16e441393f54461a">DoTriggerClicked</a>);   <span class="comment">// 注册trigger点击事件</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    }</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#a273efca92e3c3a8e0ae83ead6f059096">   38</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="class_color_value_picker.html#a273efca92e3c3a8e0ae83ead6f059096">OnDisable</a>()</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    {</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <span class="keywordflow">if</span> (GetComponent&lt;VRTK_ControllerEvents&gt;() == <span class="keyword">null</span>)</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        {</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            Debug.LogError(<span class="stringliteral">&quot;VRTK_ControllerEvent component miss&quot;</span>);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        }</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <span class="comment">//blackWheel = transform.Find(&quot;ColorPicker/Canvas/BlackWheel&quot;).gameObject;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        VRTK_ControllerEvents conEvt = GetComponent&lt;VRTK_ControllerEvents&gt;();   <span class="comment">// 注销事件</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        conEvt.TouchpadAxisChanged -= <a class="code" href="class_color_value_picker.html#ab133cf4d55d59dfe6b7ad882cde31328">DoTouchpadAxisChanged</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        conEvt.TriggerClicked -= <a class="code" href="class_color_value_picker.html#ac6b42e360b3b157d16e441393f54461a">DoTriggerClicked</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        transform.Find(<span class="stringliteral">&quot;ColorValuePicker&quot;</span>).gameObject.SetActive(<span class="keyword">false</span>);     <span class="comment">// 隐藏图像</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    }</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#ac6b42e360b3b157d16e441393f54461a">   53</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="class_color_value_picker.html#ac6b42e360b3b157d16e441393f54461a">DoTriggerClicked</a>(<span class="keywordtype">object</span> sender, ControllerInteractionEventArgs e)</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    {</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="comment">//GetComponent&lt;ColorValuePicker&gt;().enabled = false;</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <a class="code" href="class_controller_action.html#acb0c2fdfd641ce634839e6ce52deddea">OnControllerActionEnd</a>(EventArgs.Empty);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#ab133cf4d55d59dfe6b7ad882cde31328">   59</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="class_color_value_picker.html#ab133cf4d55d59dfe6b7ad882cde31328">DoTouchpadAxisChanged</a>(<span class="keywordtype">object</span> sender, ControllerInteractionEventArgs e)</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    {</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <a class="code" href="class_color_value_picker.html#a746790f72869d820574833ebac361b6c">ChangeValue</a>(e.touchpadAxis);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    }</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#a746790f72869d820574833ebac361b6c">   65</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="class_color_value_picker.html#a746790f72869d820574833ebac361b6c">ChangeValue</a>(Vector2 touchpadAxis)</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        this.value = (1 - touchpadAxis.y) / 2;    <span class="comment">// (-1, 1) -&gt; (0, 1)</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        Color blackWheelColor = <a class="code" href="class_color_value_picker.html#a6192419c18fafcee1168488cc129487d">blackWheel</a>.GetComponent&lt;Image&gt;().color;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        blackWheelColor.a = 1 - this.<a class="code" href="class_color_value_picker.html#aee10b4dedbdf99c03f6f9ac433a99387">value</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        blackWheel.GetComponent&lt;Image&gt;().color = blackWheelColor;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        Color colorWheelColor = <a class="code" href="class_color_value_picker.html#a40f8b4be602f28ae81260ca4f787c5f3">colorWheel</a>.GetComponent&lt;Image&gt;().color;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        colorWheelColor.a = this.<a class="code" href="class_color_value_picker.html#aee10b4dedbdf99c03f6f9ac433a99387">value</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        colorWheel.GetComponent&lt;Image&gt;().color = colorWheelColor;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <a class="code" href="class_color_value_picker.html#af63024fac0198cc52d15e7421d91f49b">UpdateColor</a>();</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    }</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#af63024fac0198cc52d15e7421d91f49b">   79</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="class_color_value_picker.html#af63024fac0198cc52d15e7421d91f49b">UpdateColor</a>()</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        Color objectColor = <a class="code" href="class_color_value_picker.html#a88c0acfd2ed500ae752baa35f93dc00e">colorObject</a>.GetComponent&lt;Renderer&gt;().material.color;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <span class="keywordtype">float</span> curHue, curSat;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        Color.RGBToHSV(objectColor, out curHue, out curSat, out _);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <a class="code" href="class_color_value_picker.html#a88c0acfd2ed500ae752baa35f93dc00e">colorObject</a>.GetComponent&lt;Renderer&gt;().material.color = Color.HSVToRGB(curHue, curSat, <span class="keyword">this</span>.value);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    }</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="class_color_value_picker.html#a77dd6764d7d44a5183d6da9657223936">   87</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_color_value_picker.html#a77dd6764d7d44a5183d6da9657223936">OnColorEditButtonClick</a>()</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    {</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <a class="code" href="class_controller_action.html#a6555650db283b88f214b210a80783818">OnControllerAtionStart</a>(EventArgs.Empty);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    }</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;}</div>
<div class="ttc" id="aclass_color_value_picker_html"><div class="ttname"><a href="class_color_value_picker.html">ColorValuePicker</a></div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00008">ColorValuePicker.cs:9</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_a273efca92e3c3a8e0ae83ead6f059096"><div class="ttname"><a href="class_color_value_picker.html#a273efca92e3c3a8e0ae83ead6f059096">ColorValuePicker.OnDisable</a></div><div class="ttdeci">void OnDisable()</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00038">ColorValuePicker.cs:38</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_a40f8b4be602f28ae81260ca4f787c5f3"><div class="ttname"><a href="class_color_value_picker.html#a40f8b4be602f28ae81260ca4f787c5f3">ColorValuePicker.colorWheel</a></div><div class="ttdeci">GameObject colorWheel</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00011">ColorValuePicker.cs:11</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_a6192419c18fafcee1168488cc129487d"><div class="ttname"><a href="class_color_value_picker.html#a6192419c18fafcee1168488cc129487d">ColorValuePicker.blackWheel</a></div><div class="ttdeci">GameObject blackWheel</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00014">ColorValuePicker.cs:14</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_a746790f72869d820574833ebac361b6c"><div class="ttname"><a href="class_color_value_picker.html#a746790f72869d820574833ebac361b6c">ColorValuePicker.ChangeValue</a></div><div class="ttdeci">void ChangeValue(Vector2 touchpadAxis)</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00065">ColorValuePicker.cs:65</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_a77dd6764d7d44a5183d6da9657223936"><div class="ttname"><a href="class_color_value_picker.html#a77dd6764d7d44a5183d6da9657223936">ColorValuePicker.OnColorEditButtonClick</a></div><div class="ttdeci">void OnColorEditButtonClick()</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00087">ColorValuePicker.cs:87</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_a88c0acfd2ed500ae752baa35f93dc00e"><div class="ttname"><a href="class_color_value_picker.html#a88c0acfd2ed500ae752baa35f93dc00e">ColorValuePicker.colorObject</a></div><div class="ttdeci">GameObject colorObject</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00010">ColorValuePicker.cs:10</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_a916e9d6daea31c19f8fe4570a203f110"><div class="ttname"><a href="class_color_value_picker.html#a916e9d6daea31c19f8fe4570a203f110">ColorValuePicker.OnEnable</a></div><div class="ttdeci">void OnEnable()</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00018">ColorValuePicker.cs:18</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_ab133cf4d55d59dfe6b7ad882cde31328"><div class="ttname"><a href="class_color_value_picker.html#ab133cf4d55d59dfe6b7ad882cde31328">ColorValuePicker.DoTouchpadAxisChanged</a></div><div class="ttdeci">void DoTouchpadAxisChanged(object sender, ControllerInteractionEventArgs e)</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00059">ColorValuePicker.cs:59</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_ac6b42e360b3b157d16e441393f54461a"><div class="ttname"><a href="class_color_value_picker.html#ac6b42e360b3b157d16e441393f54461a">ColorValuePicker.DoTriggerClicked</a></div><div class="ttdeci">void DoTriggerClicked(object sender, ControllerInteractionEventArgs e)</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00053">ColorValuePicker.cs:53</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_aee10b4dedbdf99c03f6f9ac433a99387"><div class="ttname"><a href="class_color_value_picker.html#aee10b4dedbdf99c03f6f9ac433a99387">ColorValuePicker.value</a></div><div class="ttdeci">float value</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00013">ColorValuePicker.cs:13</a></div></div>
<div class="ttc" id="aclass_color_value_picker_html_af63024fac0198cc52d15e7421d91f49b"><div class="ttname"><a href="class_color_value_picker.html#af63024fac0198cc52d15e7421d91f49b">ColorValuePicker.UpdateColor</a></div><div class="ttdeci">void UpdateColor()</div><div class="ttdef"><b>Definition:</b> <a href="_color_value_picker_8cs_source.html#l00079">ColorValuePicker.cs:79</a></div></div>
<div class="ttc" id="aclass_controller_action_html"><div class="ttname"><a href="class_controller_action.html">ControllerAction</a></div><div class="ttdoc">功能脚本抽象类，定义功能启动和关闭事件，用于统一管理</div><div class="ttdef"><b>Definition:</b> <a href="_controller_action_8cs_source.html#l00009">ControllerAction.cs:10</a></div></div>
<div class="ttc" id="aclass_controller_action_html_a6555650db283b88f214b210a80783818"><div class="ttname"><a href="class_controller_action.html#a6555650db283b88f214b210a80783818">ControllerAction.OnControllerAtionStart</a></div><div class="ttdeci">virtual void OnControllerAtionStart(EventArgs e)</div><div class="ttdoc">功能开始的事件触发函数</div><div class="ttdef"><b>Definition:</b> <a href="_controller_action_8cs_source.html#l00019">ControllerAction.cs:19</a></div></div>
<div class="ttc" id="aclass_controller_action_html_acb0c2fdfd641ce634839e6ce52deddea"><div class="ttname"><a href="class_controller_action.html#acb0c2fdfd641ce634839e6ce52deddea">ControllerAction.OnControllerActionEnd</a></div><div class="ttdeci">virtual void OnControllerActionEnd(EventArgs e)</div><div class="ttdoc">功能结束的事件触发函数</div><div class="ttdef"><b>Definition:</b> <a href="_controller_action_8cs_source.html#l00032">ControllerAction.cs:32</a></div></div>
<div class="ttc" id="aclass_select_object_by_controller_html"><div class="ttname"><a href="class_select_object_by_controller.html">SelectObjectByController</a></div><div class="ttdef"><b>Definition:</b> <a href="_select_object_by_controller_8cs_source.html#l00008">SelectObjectByController.cs:9</a></div></div>
<div class="ttc" id="aclass_select_object_by_controller_html_a1f891591a70ab63513331d88c930f219"><div class="ttname"><a href="class_select_object_by_controller.html#a1f891591a70ab63513331d88c930f219">SelectObjectByController.selectedObject</a></div><div class="ttdeci">static GameObject selectedObject</div><div class="ttdef"><b>Definition:</b> <a href="_select_object_by_controller_8cs_source.html#l00013">SelectObjectByController.cs:13</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
